import {
	mapActions,
	mapGetters
} from 'vuex';
export default {
	computed: {
			// 用户信息
			...mapGetters('userInfo', ['getUserInfoValue']),
		},
		onLoad() {
			// 获取用户信息
			this.getUserInfo();
		},
		methods:{
			...mapActions('userInfo', ['getUserInfo']),
		}
}